-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creation and Parsing of 802.15.4 Beacon and Command frames. #1904
base: master
Are you sure you want to change the base?
Conversation
The following code changes cater to the creation and parsing of 802.15.4 beacon and command frames.
Hello |
Hi, |
@ENIGH for creating beacon frames you can do something like this: packetbuf_clear();
packetbuf_set_attr(PACKETBUF_ATTR_FRAME_TYPE, FRAME802154_BEACONFRAME);
/* set further packetbuf attributes */
/* write payload */
paketbuf_set_datalen(x);
NETSTACK_LLSEC.send(NULL, NULL); For processing beacon frames, you can insert some code into if(packetbuf_attr(PACKETBUF_ATTR_FRAME_TYPE) == FRAME802154_BEACONFRAME) {
/* process beacon frame */
} Processing command frames is more convenient thanks to my |
@kkrentz |
Sorry, but I do not understand what you want exactly. |
@kkrentz 10a2bce#diff-1d8138bcf9107b0b4f3ebc91a5402fc2R201 At the secont step other node wil receive this BO and SO and i will see its effects at the powertrace |
Hello, |
Fix sign comparison warnings in uiplib.c
The following code changes cater to the creation and parsing
of 802.15.4 beacon and command frames.